<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>

    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>

</head>
<body>

{{$zhead}}

<div id="container">
	{{$zmenu}}
    <article>
    	<h2><span>&nbsp;</span>会員管理<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
        		<ul>
				<li class="active"><a href="{{'Home/user/index'|U}}"><span>会員検索</span></a></li>
				<li><a href="{{'Home/user/insert'|U}}"><span>会員登録</span></a></li>
			</ul>
        </nav>

        <section id="content">

        	<h3>会員配送先情報</h3>

			<ul class="btns b20" style="position:relative;top:10px;">
				<li class="btn left c"><a href="{{'Home/user/refer'|U}}?id={{$forms.id}}">情報参照</a></li>
				<li class="btn center c"><a href="{{'Home/user/update'|U}}?id={{$forms.id}}">情報更新</a></li>
				<li class="btn center c"><a href="{{'Home/delivery/refer'|U}}?id={{$forms.id}}" class="active">配送先情報</a></li>
				<li class="btn center c"><a href="{{'Home/order/index'|U}}?id={{$forms.id}}">注文情報</a></li>
				<li class="btn center c"><a href="{{'Home/user/emailRecord'|U}}?id={{$forms.id}}">メール履歴</a></li>
			</ul>

			<h4><span>&nbsp;</span>配送先情報</h4>

			<ul class="btns b10">
				<li class="btn single c"><a href="Home_delivery_form.html?id={{$forms.id}}">新規追加</a></li>
			</ul>

			<table id="search_result" class="sortable">
				<thead>
					<tr>
						<th class="align-center">配送先名</th>
						<th>氏名</th>
						<th>貴医院名・貴技工所名<br />部署名</th>
						<th>住所</th>
						<th>電話番号</th>
						<th>更新</th>
					</tr>

				</thead>
				<tbody>
				{{ foreach from=$data key=k item=v name="member" }}
				
					<tr>
						<td>{{$v.sent_name}}</td>
						<td>{{$v.sent_name1}}&nbsp;{{$v.sent_name2}}</td>
						<td>{{$v.sent_workshop_name1}}</td>
						<td>{{$v.sent_zipcode}}<br />{{$v.sent_address}}</td>
						<td>{{$v.sent_tel_number}}</td>
						<td class="update"><a href="Home_delivery_update.html?sent_id={{$v.sent_id}}">更新</a></td>
					</tr>
					
					{{ /foreach }}	
					
				</tbody>
			</table>

			<p class="pageNav">
				  {{$pageing}}	
			</p>

        </section>
    </article>

</div>

<footer id="dashboard_footer">Copyright (C) SHIFT. / All rights reserved.</footer>
</body>
</html>